package company;

import sun.font.TrueTypeFont;

import java.util.Scanner;

public class demo9 {
    public static void main(String[] args) {
        String adminer="asdfghg";
        String Ad="";
        Scanner sc = new Scanner(System.in);
        boolean a = true;
        while(a){
            Ad=sc.next();
            if(Ad.matches(adminer))
            {
                System.out.println("输入正确");
                break;
            }
        }
    }
}
